/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 获取-后台设置 获取-后台设置 POST /sysSetting/getAdminSetting */
export async function sysSettingGetAdminSettingUsingPost({
  options,
}: {
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingSysAdminSettingduixiang>(
    '/sysSetting/getAdminSetting',
    {
      method: 'POST',
      ...(options || {}),
    }
  );
}

/** 修改-后台设置 POST /sysSetting/updateAdminSetting */
export async function sysSettingUpdateAdminSettingUsingPost({
  body,
  options,
}: {
  body: API.SysAdminSettingBo090d366e8264420f9c310ea9d3d6af2f;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>('/sysSetting/updateAdminSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
